﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace myLiveMesh.Models.Person
{
    public enum Rank
    {
        ADMIN = 0,
        USER = 1
    };

    public class personModel
    {
        #region Fields

        private int _id;
        private string _firstName;
        private string _lastName;
        private int _idRank;
        private int _streetNumber;
        private string _streetName;
        private string _cityName;
        private string _phoneNumber;
        private string _homePath;
        private Image _background;
        private string _login;
        private string _email;

        #endregion

        #region Constructor
        public personModel()
        {
        }
        #endregion

        #region Members

        public int Id
        {
            get { return this._id; }
            set { this._id = value; }
        }

        public string FirstName
        {
            get { return this._firstName; }
            set { this._firstName = value; }
        }

        public string LastName
        {
            get { return this._lastName; }
            set { this._lastName = value; }
        }

        public int IdRank
        {
            get { return this._idRank; }
            set { this._idRank = value; }
        }

        public int StreetNumber
        {
            get { return this._streetNumber; }
            set { this._streetNumber = value; }
        }

        public string StreetName
        {
            get { return this._streetName; }
            set { this._streetName = value; }
        }

        public string CityName
        {
            get { return this._cityName; }
            set { this._cityName = value; }
        }

        public string PhoneNumber
        {
            get { return this._phoneNumber; }
            set { this._phoneNumber = value; }
        }

        public string HomePath
        {
            get { return this._homePath; }
            set { this._homePath = value; }
        }

        public Image BackGround
        {
            get { return this._background; }
            set { this._background = value; }
        }

        public string Login
        {
            get { return this._login; }
            set { this._login = value; }
        }

        public string Email
        {
            get { return this._email; }
            set { this._email = value; }
        }

        #endregion
    }
}
